export default {
  whiteList: ['/', 'notFound', 'login', 'forbidden', 'badGateway'],
  permissionMap: {
    '学校用户': {
      main: ['*']
    },
    '学院用户': {
      main: [
        // 住宿管理
        'getInManage',
        'getInManageIndex',
        'editHistory',
        'batchChangeRoom',
        'batchChangeRoomIndex',
        'batchChangeRoomaddSet',
        'batchChangeRoomEditDetail',
        'batchChangeEditHistory',
        'batchOutRoom',
        'batchOutRoomIndex',
        'batchOutRoomaddSet',
        'batchOutRoomEditDetail',
        'batchOutEditHistory',
        'putUpManage',
        // 审批管理
        'outRoomIndex',
        'stuPutIn',
        'stuChange',
        'approvalManage',
        // 寝室管理
        'Dorm',
        'DormWork',
        'DormWorkList',
        'DormWorkEdit',
        'DormWorkDetail',
        'DormdormCheck',
        'DormdormCheckList',
        'DormdormCheckDetail',
        'Dormsanitation',
        'DormsanitationList',
        'DormsanitationEdit',
        'Dormviolation',
        'DormdormRate',
        'DormdormRateList',
        'DormdormRateEdit',
        'DormdormRateDetail',
        'DormdormRatePanel',
        'DormdormRatedormView'
      ]
    },
    '年级辅导员': {
      main: [
        // 住宿管理-入住管理
        'putUpManage',
        'getInManage',
        'getInManageIndex',
        'editHistory',
        // 审批管理
        'outRoomIndex',
        'stuPutIn',
        'stuChange',
        'approvalManage',
        // 寝室管理
        'Dorm',
        'DormWork',
        'DormWorkList',
        'DormWorkEdit',
        'DormWorkDetail',
        'DormdormCheck',
        'DormdormCheckList',
        'DormdormCheckDetail',
        'Dormsanitation',
        'DormsanitationList',
        'DormsanitationEdit',
        'Dormviolation',
        'DormdormRate',
        'DormdormRateList',
        'DormdormRateEdit',
        'DormdormRateDetail',
        'DormdormRatePanel',
        'DormdormRatedormView'
      ]
    },
    '物业用户': {
      main: [
        // 审批管理
        'outRoomIndex',
        'stuPutIn',
        'stuChange',
        'approvalManage',
        // 审批管理
        'outRoomIndex',
        'stuPutIn',
        'stuChange',
        'approvalManage'
      ]
    },
    '住楼辅导员': {
      main: [
        // 寝室管理
        'Dorm',
        'DormWork',
        'DormWorkList',
        'DormWorkEdit',
        'DormWorkDetail',
        'DormdormRate',
        'DormdormRateList',
        'DormdormRateEdit',
        'DormdormRateDetail',
        'DormdormRatePanel',
        'DormdormRatedormView'
      ]
    }
  }
}
